package org.example.service.impl;

import org.example.domain.Market;
import org.example.service.MarketService;
import org.example.mapper.MarketMapper;
import org.example.vo.MarketVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 程思彤
* @description 针对表【sys_market】的数据库操作Service实现
* @createDate 2024-06-03 09:51:09
*/
@Service
public class MarketServiceImpl implements MarketService{

    @Autowired
    private MarketMapper marketMapper;

    @Override
    public List<Market> listAll(Market market) {
        return marketMapper.listAll(market);
    }

    @Override
    public List<MarketVo> listMarket(MarketVo marketVo) {
        return marketMapper.listMarket(marketVo);
    }
}




